package com.tju.resource.business.sys;

import com.tju.resource.model.SysParams;
import com.tju.resource.result.Result;
import com.tju.resource.tool.tool.ClientParameters;

import java.util.Map;

public interface SysParamsService {

    SysParams get(String key);

    Map<String, SysParams> getAll(Object... keys);

    Result<Object> add(SysParams params);

    /*分页查询全部系统参数信息*/
    Result<Object> getPageList(ClientParameters parameters);

    /*修改系统参数信息*/
    Result<Object> updateParams(SysParams sysParams);
}
